Xbasic

Encryption Functions

Description

Alpha Anywhere provides the following Encryption functions and methods.

Name
Description
*CRC Function

Returns a CRC value for text. The *CRC() function generates a 32 bit Cyclic Redundancy Code (CRC) from a text string.

*MD5 Function

Create the MD5 hash for a string.

a5_encrypt_table_field Function

Encrypts or decrypts data stored in a table field.

base64Decode Function

Converts a base64 encoded string back to its binary data. Can be used to convert base64 images back to their original format.

base64Encode Function

Encode (to string) binary data using base64.

BASE64ENCODE_FILE Function

Encode (to string w/ CRLFs) binary data using BASE64.

CHKDIGIT Function

Returns a checksum digit for a string of numbers.

DECRYPT_STRING Function

Decrypt a string given Encrypted string.

DEFAULT_ENCRYPTION_KEY_SET Function

Sets the default key to encrypt and decrypt tables

ENCRYPT_STRING Function

Encrypt a string given Plaintext.

hmac_hash Function

Generates a digital signature of the data using the key and HMACSHA1, HMACSHA256, or any other signing method supported by the .NET Framework

MD5 Function

Generates an MD5 checksum of the text_to_sum

sha512 Function

Creates a hash using the SHA512 algorithm.

UUDECODE Function

Decode (from string) binary data using UUEncode scheme (64 bits).

UUENCODE Function

Encode (to string) binary data using UUEncode scheme (64 bits).

See Also